package com.wtb.javatool.vo;

import com.wtb.javatool.entity.Course;
import com.wtb.javatool.entity.Resource;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

@Data
@ToString
@ApiModel(value = "ResourceDto",description="资源dto")
public class ResourceDto extends Resource {

	/**
	 *
	 */
	private static final long serialVersionUID = 7992875521541792694L;

	public ResourceDto(Integer resourceId, String resourceName, Integer learnersCount, String resourceSize,
					 Integer likeCount, Date uploadTime, Integer uploadUserId, Integer downloadCount,
					 Double score, Integer resourceTypeId,Integer commentCount,Double totalScore) {
		super(resourceId, resourceName, learnersCount,resourceSize,likeCount,uploadTime,
				uploadUserId,downloadCount,score,resourceTypeId,commentCount,totalScore);
	}
	public ResourceDto() {
		super();
	}
}
